//
//  RegisterViewController.h
//  leo
//
//  Created by 常艳 on 15/9/13.
//  Copyright (c) 2015年 mdx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SyncManager.h"
#define Register_Tag  @"RegisterViewController-------------------"
@interface RegisterViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *nickName;
@property (weak, nonatomic) IBOutlet UITextField *pass;

@property (weak, nonatomic) IBOutlet UITextField *phone;
@property (weak, nonatomic) IBOutlet UITextField *smsCode;
@property (weak, nonatomic) IBOutlet UIButton *smsButton;
@property (weak, nonatomic) IBOutlet UIButton *registerBtn;
@property (nonatomic,retain) IBOutlet UIActivityIndicatorView *indicator;
@property (weak, nonatomic) IBOutlet UILabel *timeLable;

@property (nonatomic,assign) int seconds;
@property (nonatomic,strong) NSTimer *timer;
@property (nonatomic,strong) SyncManager *syncer;
@property (nonatomic,assign) int type;//(0:表示注册请求短信验证码, 1表示忘记密码请求验证码)
@property (nonatomic,assign) BOOL isSendSms;
@property (nonatomic,assign) BOOL canSend;
@end
